<h3>Listagem dos Projetos Finais</h3>

<table border="1" cellspacing="0" cellpadding="0">
	<tr>
		<!--<th>Id</th>-->
		<th>Título</th>
		<th>Tema</th>
		<th>Aluno</th>
		<th>Orientador</th>
		<th>Co-orientador</th>
		<th>Semestre</th>
		<th>Data da apresentação</th>
		<th>Hora da apresentação</th>
		<th>Local da apresentação</th>
		<th>Monografia</th>
	</tr>

	<?php foreach ($work_lists as $wl): ?>
	<tr>
		<!--<td><?php //echo $wl['WorkList']['id']; ?></td>-->	
		<td><?php echo $wl['WorkList']['titulo']; ?></td>	
		<td><?php echo $wl['WorkList']['tema']; ?></td>	
		<td><?php echo $wl['WorkList']['aluno']; ?></td>	
		<td><?php echo $wl['WorkList']['orientador']; ?></td>	
		<td><?php echo $wl['WorkList']['co_orientador']; ?></td>	
		<td><?php echo $wl['WorkList']['ano'].'.'.$wl['WorkList']['semestre']; ?></td>	
		<td><?php echo $wl['WorkList']['data']; ?></td>	
		<td><?php echo $wl['WorkList']['hora']; ?></td>	
		<td><?php echo $wl['WorkList']['local']; ?></td>	
        <td>
			<?php 
				if ($wl['WorkList']['arquivo'] != "")
					echo $html->link('monografia', $wl['WorkList']['arquivo']); 
				else
					echo $wl['WorkList']['arquivo'];
			?>
		</td>
	</tr>
	<?php endforeach; ?> 
</table>
